
class FlowModel():
    def __init__(self):
        self.__helper = MySqlHelper()
    def CheckValidate(self,username,password):
        sql = "select * from test where username=%s and password=%s"
        params=(username,password)
        return self.__helper.getOne(sql,params)
